package core.vols;

import java.util.Hashtable;

import core.vols.Marchandise;

public class VolFret {
        
        public Hashtable<Integer, Marchandise> marchandises;

        public VolFret() {
                super();
                marchandises = new Hashtable<Integer, Marchandise>();
        }
        
        public void addMarchandise(Marchandise m) {
                marchandises.put(m.getCode(), m);
        }
        
        public void removeMarchandise(Marchandise m) {
                marchandises.remove(m);
        }

		/**
		 * @return the marchandises
		 */
		public Hashtable<Integer, Marchandise> getMarchandises() {
			return marchandises;
		}
        
        

}
